import fetch from '../config/fetch'
import * as chartSetting from './tempdata/chartSetting'

/**
 * 创建临时数据
 */
const setpromise = data => {
  return new Promise((resolve, reject) => {
    resolve(data)
  })
};

var login = (parms) => fetch('GET', '/login', parms);

export {
  login,
  chartSetting
}
